//
//  QRCodeTool.h
//  BSBDJ
//
//  Created by user on 16/5/24.
//  Copyright © 2016年 Burning. All rights reserved.
//

#import <Foundation/Foundation.h>


@interface QRCodeTool : NSObject

typedef void(^scanfResult)(NSArray<NSString *> *resultStrs);

//// 扫描

+ (instancetype)shareInstance;
- (void)setInterestRect :(CGRect)rect;
//扫描
- (void)scanfQRCodeInView :(UIView *)view isDraw :(BOOL)isDraw :(scanfResult )resultBlock;
//识别
- (NSArray *)detectorQRCode :(UIImage *)image;

@end
